#!/bin/bash
serverName=$1
fileName=$2
sourceIp=$3
sourceServerName=$4
port=$5
chmod 777 /u01/app/oracle/admin/$serverName/dpdump/$fileName.dmp
scp -P "$port" /u01/app/oracle/admin/$serverName/dpdump/$fileName.dmp root@$sourceIp:/u01/app/oracle/admin/$sourceServerName/dpdump/
rm -rf /u01/app/oracle/admin/$serverName/dpdump/$fileName*
